<!doctype html>
<html>
<head>
<meta charset="utf-8">
<title>无标题文档</title>
<style>
ul{margin:0;padding:0;list-style:none;}
a{text-decoration:none;}
body{background:#000;}
li,a{float:left;}
li{background:url(img/btnL.jpg) no-repeat;}/* 不能跳级用ul，只能是li */
a{background:url(img/btnR.jpg) no-repeat right 0;height:31px;padding:6px 16px;color:#fff;font-size:14px;}
</style>
</head>
<body>
  <ul>
    <li>
      <a href="#">欢迎！热烈欢迎！！</a>
    </li>
    <li>
      <a href="#">你好吗</a>
    </li>
  </ul>
</body>
</html>
